import*as t from"../../../../core/i18n/i18n.js";import*as e from"../../legacy.js";const o={openFile:"Open file",runCommand:"Run command"},n=t.i18n.registerUIStrings("ui/legacy/components/quick_open/quick_open-meta.ts",o),i=t.i18n.getLazilyComputedLocalizedString.bind(void 0,n);let a;async function s(){return a||(a=await import("./quick_open.js")),a}e.ActionRegistration.registerActionExtension({actionId:"commandMenu.show",category:e.ActionRegistration.ActionCategory.GLOBAL,title:i(o.runCommand),loadActionDelegate:async()=>(await s()).CommandMenu.ShowActionDelegate.instance(),bindings:[{platform:"windows,linux",shortcut:"Ctrl+Shift+P",keybindSets:["devToolsDefault","vsCode"]},{platform:"mac",shortcut:"Meta+Shift+P",keybindSets:["devToolsDefault","vsCode"]},{shortcut:"F1",keybindSets:["vsCode"]}]}),e.ActionRegistration.registerActionExtension({actionId:"quickOpen.show",category:e.ActionRegistration.ActionCategory.GLOBAL,title:i(o.openFile),loadActionDelegate:async()=>(await s()).QuickOpen.ShowActionDelegate.instance(),order:100,bindings:[{platform:"mac",shortcut:"Meta+P",keybindSets:["devToolsDefault","vsCode"]},{platform:"mac",shortcut:"Meta+O",keybindSets:["devToolsDefault","vsCode"]},{platform:"windows,linux",shortcut:"Ctrl+P",keybindSets:["devToolsDefault","vsCode"]},{platform:"windows,linux",shortcut:"Ctrl+O",keybindSets:["devToolsDefault","vsCode"]}]}),e.ContextMenu.registerItem({location:e.ContextMenu.ItemLocation.MAIN_MENU_DEFAULT,actionId:"commandMenu.show",order:void 0}),e.ContextMenu.registerItem({location:e.ContextMenu.ItemLocation.MAIN_MENU_DEFAULT,actionId:"quickOpen.show",order:void 0});
